package com.qf.xiaomi.service;

import com.qf.xiaomi.pojo.TbAddress;

import java.util.List;

/**
 * @Created by 马英超 on 2022/8/20 10:52
 * @author： 马英超
 * @version：v1.0
 * @description:
 */
public interface AddressService {

    public int addAddress(int id, String name, String phone, String detail);

    int deleteAddress(int id, int userId);

    int setDefaultAddress(int id, int userId);

    int updateAddress(int id,String name,String phone, String detail,int userId);

    List<TbAddress> queryAddressByUserId(int userId);
}
